package com.icbc.dataDisplayService.bean;

import java.io.Serializable;

public class GPS implements Serializable {
    private int id;
    private int gpsid;
    private String time;
    private String lon;
    private String lat;
    private String bearing;
    private String speed;

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public void setTime(String time) {
        this.time = time;
    }


    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getLat() {
        return lat;
    }

    public String getLon() {
        return lon;
    }

    public String getTime() {
        return time;
    }

    public String getSpeed() {
        return speed;
    }

    public void setGpsid(int gpsid) {
        this.gpsid = gpsid;
    }

    public int getGpsid() {
        return gpsid;
    }

    public void setBearing(String bearing) {
        this.bearing = bearing;
    }

    public String getBearing() {
        return bearing;
    }

    @Override
    public String toString() {
        StringBuilder buf = new StringBuilder(100);
        buf.append("{id:");
        buf.append(id);
        buf.append("gpsid:");
        buf.append(gpsid);
        buf.append(", ");
        buf.append("time:");
        buf.append(time);
        buf.append(", ");
        buf.append("longitude:");
        buf.append(lon);
        buf.append(", ");
        buf.append("latitude:");
        buf.append(lat);
        buf.append(", ");
        buf.append("bearing:");
        buf.append(bearing);
        buf.append(", ");
        buf.append("speed:");
        buf.append(speed);
        buf.append("}");
        return buf.toString();
    }
}
